import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

// 数据
const myRole = "banzhuren"

//全局注册自定义指令
Vue.directive("role",(el,binding)=>{
  if(!binding.value.includes(myRole)){
    el.style.display = "none"
  }
})


new Vue({
  render: h => h(App),
}).$mount('#app')
